#include<stdio.h>
/*
* II_2.c
*
*  Created on: May, 14, 2009
*      Author: yimingliu@fudan.edu.cn
*/

void funII_2()
{
	int x,y;
	scanf("%d",&x);
	if(x>10)
		y=x*x*x;
	else if(x>0)
		y=x+1;
	else if(x==0)
		y=5*x*x-1;
	else if(x<0)
		y=2*x+5;
	printf("y=%d\n",y);
}